using System;
using System.Xml;

namespace time
{
    public class work_XmlDocument
    {
        public static void Main()
        {
            //CreateDocument();
            get_assembly();
            get_members();
            Console.Read();
        }

        public static void get_assembly()
        {
            XmlDocument doc = new XmlDocument();
            doc.Load("my.xml");
            XmlNode x1 = doc.GetElementsByTagName("assembly")[0];
            Console.WriteLine(x1.InnerText);
        }

        public static void get_members()
        {
            XmlDocument doc = new XmlDocument();
            doc.Load("my.xml");
            XmlNodeList x1s = doc.GetElementsByTagName("members");
            foreach (XmlNode item in x1s)
            {
                Console.WriteLine(item.InnerText);
            }
        }
    }
}